<p:css name="hex-floor" />

<g:each var="tile" in="${room.tiles}">
	<g:set var="row" value="${tile.row}" />
	<g:set var="col" value="${tile.col}" />
	
	<img id="${row*100+col}" src="${resource(file:tile.tile.src, dir:'images')}" style="top:${(row+2)*15}; left:${col*35}" class='l${layer} ftile' />
</g:each>
<g:each var="exit" in="${room.exits}">
	<g:set var="row" value="${exit.row}" />
	<g:set var="col" value="${exit.col}" />
	
	<a style="top:${(row+2)*15}; left:${col*35}" class="ftile exit" roomId="${exit.roomId}" title="${exit.name}"><span></span></a>
</g:each>
